//
//  AppectGroupCell.m
//  NtoccShipper
//
//  Created by mac on 2019/11/18.
//  Copyright © 2019 zhuchongjin. All rights reserved.
//

#import "AppectGroupCell.h"
@interface AppectGroupCell()
@property (nonatomic,strong) CJLabel *labGroupName;
@property (nonatomic,strong) CJLabel *labTime;
@property (nonatomic,strong) CJImageView *imgV;
@property (nonatomic,strong) UIView *viewTouch;
@property (nonatomic,strong) UIView *viewTouchCir; //new
@end

@implementation AppectGroupCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setCellInfoWithModel:(AppectCroupModel *)model{
   
    self.labTime.text = model.gmtCreated;
    self.labGroupName.text = model.name;
    
    if ([CJControl getUIWithNew]) {
        self.viewTouch.hidden = YES;
        self.viewTouchCir.hidden = NO;
    }else{
        self.viewTouch.hidden = NO;
        self.viewTouchCir.hidden = YES;
    }
}

- (void)changeAppectGroupAction{
    
    if (self.blockChange) {
        self.blockChange(@"");
    }
}

- (void)delectAppectGroupAction{
    if (self.blockDelect) {
        self.blockDelect(@"");
    }
}

@end
